﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace F10101CM.Common
{
    public static class CoverControl
    {
        public static void backgroundErrorControl(System.Windows.Forms.Control ctrl, bool isError)
        {
            if (isError == true)
            {
                ctrl.BackColor = Color.Red;
            }
            else
            {
                ctrl.BackColor = Color.White;
            }
        }
    }
}
